package com.model;

public class Leave {
    private Integer leave_id;
    private Integer id;
    private String leave_reasons;
    private String leave_date;

    public Leave() {
    }

    public Leave(Integer leave_id, Integer id, String leave_reasons, String leave_date) {
        this.leave_id = leave_id;
        this.id = id;
        this.leave_reasons = leave_reasons;
        this.leave_date = leave_date;
    }

    /**
     * 获取
     * @return leave_id
     */
    public Integer getLeave_id() {
        return leave_id;
    }

    /**
     * 设置
     * @param leave_id
     */
    public void setLeave_id(Integer leave_id) {
        this.leave_id = leave_id;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return leave_reasons
     */
    public String getLeave_reasons() {
        return leave_reasons;
    }

    /**
     * 设置
     * @param leave_reasons
     */
    public void setLeave_reasons(String leave_reasons) {
        this.leave_reasons = leave_reasons;
    }

    /**
     * 获取
     * @return leave_date
     */
    public String getLeave_date() {
        return leave_date;
    }

    /**
     * 设置
     * @param leave_date
     */
    public void setLeave_date(String leave_date) {
        this.leave_date = leave_date;
    }

    public String toString() {
        return "Leave{leave_id = " + leave_id + ", id = " + id + ", leave_reasons = " + leave_reasons + ", leave_date = " + leave_date + "}";
    }
}
